<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<style type="text/css">
</style>
	<meta charset="utf-8" />
	<title>PigShare | Sign-Up</title>

	<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</h:head>
<h:body>
	<div id="signup">
		<p>
			<h:form>
				<h:panelGrid columns="1" style="margin:17px 0px 0px 55px;">
					<p:inputText value="#{loginBean.username}" id="name" />
				</h:panelGrid>

				<h:panelGrid columns="1" style="margin:10px 0px 0px 55px;">
					<p:password value="#{loginBean.password}" id="email" />
				</h:panelGrid>

				<h:panelGrid columns="1" style="margin:10px 0px 0px 55px;">
					<p:password value="#{loginBean.password2}" feedback="false" />
				</h:panelGrid>

				<h:panelGrid columns="1" style="margin:10px 0px 0px 55px;">
					<p:inputText value="#{loginBean.email}" />
				</h:panelGrid>
				<div id="signupbutton2">
				<h:commandButton value="" action="#{loginBean.signup}" />
				</div>
			</h:form>
		</p>
	</div>
</h:body>
</html>
